package com.p2p.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("投资用户实体")
public class Investors implements Serializable {
  @ApiModelProperty(name = "id",notes = "id",dataType = "Long",required = false)
  @TableId(value = "id")
  private Long id;
  @ApiModelProperty(name = "investorsNum",notes = "投资用户编号",dataType = "String",required = false)
  private String investorsNum;
  @ApiModelProperty(name = "investorsName",notes = "投资用户姓名",dataType = "String",required = false)
  private String investorsName;
  @ApiModelProperty(name = "phoneNum",notes = "手机号",dataType = "String",required = false)
  private String phoneNum;
  @ApiModelProperty(name = "authenticationStatus",notes = "实名状态（0未认证，1已认证）",dataType = "Byte",required = false)
  private Byte authenticationStatus;
  @ApiModelProperty(name = "identityCard",notes = "身份证号码（加密）",dataType = "String",required = false)
  private String identityCard;
  @ApiModelProperty(name = "sex",notes = "性别（0女，1男）",dataType = "Byte",required = false)
  private Byte sex;
  @ApiModelProperty(name = "bankCard",notes = "银行卡号（加密）",dataType = "String",required = false)
  private String bankCard;
  @ApiModelProperty(name = "bankName",notes = "银行名称",dataType = "String",required = false)
  private String bankName;
  @ApiModelProperty(name = "bankBranchName",notes = "支行名称",dataType = "String",required = false)
  private String bankBranchName;
  @ApiModelProperty(name = "recommend",notes = "推荐人",dataType = "String",required = false)
  private String recommend;
  @ApiModelProperty(name = "lockStatus",notes = "锁定状态（0正常，1锁定）",dataType = "Byte",required = false)
  private Byte lockStatus;
  @ApiModelProperty(name = "registrationDate",notes = "注册时间",dataType = "Timestamp",required = false)
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
  private Timestamp registrationDate;
  @ApiModelProperty(name = "userSource",notes = "用户来源",dataType = "String",required = false)
  private String userSource;
  @ApiModelProperty(name = "loginPassword",notes = "登录密码",dataType = "String",required = false)
  private String loginPassword;
  @ApiModelProperty(name = "payPassword",notes = "支付密码",dataType = "String",required = false)
  private String payPassword;
  @ApiModelProperty(name = "remark",notes = "备注",dataType = "String",required = false)
  private String remark;
  @ApiModelProperty(name = "isDeleted",notes = "是否删除",dataType = "Byte",required = false)

  @TableLogic
  private Byte isDeleted;
  @ApiModelProperty(name = "createTime",notes = "创建时间",dataType = "Timestamp",required = false)
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
  private Timestamp createTime;
  @ApiModelProperty(name = "updateTime",notes = "更新时间",dataType = "Timestamp",required = false)
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
  private Timestamp updateTime;



}
